<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>驱逐舰装备信息管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="">首页</a>
                <!--                <a href="">演示</a>-->
                <!--                <a>-->
                <!--                    <cite>导航元素</cite></a>-->
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       onclick="location.reload()" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
    </a>
</div>
<div style="cursor: pointer" class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">
                        欢迎：
                        <span class="x-red" id="usernameID1">test</span>
                    </blockquote>
                    <script>
                        function username1() {
                            return sessionStorage.getItem("username");
                        }

                        console.info("name:" + username1())
                        let nameidd = username1();
                        document.getElementById('usernameID1').innerText = nameidd
                        // $("#usernameID1").text(nameidd)
                    </script>
                </div>
            </div>
        </div>
        <div style="cursor: pointer" id="type01" class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">
                        驱逐舰装备信息管理系统
                        <br/>
                        <br/> 1.管理员负责日常维护；
                        <br/> 2.当出现系统故障或崩溃时，及时处理并消除影响；
                        <br/> 3.当用户有需求时，及时回复并帮助解决问题；
                        <br/> 4.注意维护系统安全，避免被恶意攻击，保护好军事秘密。
                        <br/> 5.必须具有很强的责任心。
                    </blockquote>
                </div>
            </div>
        </div>
        <script>
            console.log("ss:" + sessionStorage.getItem("id"))
            console.log("dd:" + sessionStorage.getItem("type"))
            window.onload = function () {
                var type01 = document.getElementById('type01');
                var jobType = sessionStorage.getItem("type");
                var userName = sessionStorage.getItem("username");
                // document.getElementById('userName').innerText = userName;
                if (jobType == "4") {//军事迷
                    type01.style.display = 'block';
                } else {//
                    type01.style.display = 'none';
                }
            };
        </script>
        <div style="cursor: pointer" class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">系统信息</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>layui版本</th>
                            <td>2.7.6</td>
                        </tr>
                        <tr>
                            <th>服务器地址</th>
                            <td>http://127.0.0.1:8080/index.html</td>
                        </tr>
                        <tr>
                            <th>操作系统</th>
                            <td>windows10</td>
                        </tr>
                        <tr>
                            <th>SpringBoot版本</th>
                            <td>2.7.6</td>
                        </tr>
                        <tr>
                            <th>MYSQL版本</th>
                            <td>5.7.36</td>
                        </tr>
                        <tr>
                            <th>开发作者</th>
                            <td>郭利翔 周浩 张雪婷 刘星佐 陈晓莹 郭树璇 黄健</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

        <style id="welcome_style"></style>
        <div style="cursor: pointer" class="layui-col-md12">
            <blockquote style="text-align: center" class="layui-elem-quote layui-quote-nm">
                驱逐舰装备信息管理系统
            </blockquote>
        </div>
    </div>
</div>
</div>
</body>
</html>